package org.zhb.sql.query.sys.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.stereotype.Service;
import org.zhb.sql.query.model.Function;
import org.zhb.sql.query.sys.repository.FunctionRepository;
import org.zhb.sql.query.sys.service.FunctionService;

@Service
public class FunctionServiceImpl implements FunctionService {
	@Autowired
	private FunctionRepository functionRepository;

	@Override
	public Function findById(String id) {
		return null;
	}

	@Override
	public Page<Function> selectModelByCondition(PageRequest pageRequest) {
		return functionRepository.findAll(null, pageRequest);
	}

	@Override
	public List<Function> findAll(Function model) {
		return null;
	}

	@Override
	public void save(Function t) {

	}

	@Override
	public void update(Function t) {

	}

	@Override
	public void delete(String id) {

	}
}
